package com.slipper.system.codeless.dao;

import com.slipper.system.codeless.bo.VariableBO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 变量信息表
 */
public interface VariableDao {
    
    int insert(VariableBO bo);
    
    int update(VariableBO bo);

    int delete(VariableBO bo);

    VariableBO queryBy(String id);
    
    List<VariableBO> queryList(VariableBO bo);

    int existsName(@Param("id") String id, @Param("name") String name);

    VariableBO queryByName(String name);
}
